package com.zim.analysis.po;

import com.zim.analysis.dto.BaseAnlysisDTO;

public class AckPO extends BaseAnlysisDTO {
    /**
     * 接收消息类型
     */
    private String ackType;
    
    /**
     * 接收消息流水
     */
    private int requestSerial;
    
    /**
     * 0成功 1失败 2 校验失败
     */
    private int status;
    
    /**
     * 行车灯/示宽灯/位置灯
     */
    private int runLight;
    
    private int speed;
    
    private String gear;

    public String getAckType() {
        return ackType;
    }

    public void setAckType(String ackType) {
        this.ackType = ackType;
    }

    public int getRequestSerial() {
        return requestSerial;
    }

    public void setRequestSerial(int requestSerial) {
        this.requestSerial = requestSerial;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getRunLight() {
        return runLight;
    }

    public void setRunLight(int runLight) {
        this.runLight = runLight;
    }

    public int getSpeed() {
        return speed;
    }

    public void setSpeed(int speed) {
        this.speed = speed;
    }

    public String getGear() {
        return gear;
    }

    public void setGear(String gear) {
        this.gear = gear;
    }

    @Override
    public String toString() {
        return "AckPO [deviceName=" + deviceName + ", serialNumber=" + serialNumber + ", length=" + length + ", time="
                + time + ", ackType=" + ackType + ", requestSerial=" + requestSerial + ", status=" + status
                + ", runLight=" + runLight + ", speed=" + speed + ", gear=" + gear + "]";
    }
    
}
